﻿// -----------------------------------------------------------------------
// <copyright file="Ship_BLL.cs" company="">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------

namespace PMSGSC.BLL
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using PMSGSC.DAL;

    /// <summary>
    /// TODO: Update summary.
    /// </summary>
    public class Ship_BLL
    {

        public static List<Ship> GetAll()
        {
            return Ship_DAL.GetAll();
        }
        public static bool Insert(Ship ship)
        {
            return Ship_DAL.Insert(ship);
        }
        public static Ship GetDataById(int id)
        {
            return Ship_DAL.GetDataById(id);
        }
        public static bool Update(Ship ship)
        {
            return Ship_DAL.Update(ship);
        }
        public static bool Delete(Ship ship)
        {
            return Ship_DAL.Delete(ship);
        }
       
        public static bool IsExits(Ship ship)
        {
            return Ship_DAL.IsExits(ship);
        }
    }
}
